package com.wdj.creation.abstractfactory.factory;

import com.wdj.creation.abstractfactory.entity.*;
import com.wdj.creation.abstractfactory.entity.spring.SpringButton;
import com.wdj.creation.abstractfactory.entity.spring.SpringComboBox;
import com.wdj.creation.abstractfactory.entity.spring.SpringTextField;

/**
 * @ClassName SpringSkinFactory
 * @Description
 * @Author wdj
 * @Date 2020/8/12 23:02
 * @Version 1.0
 **/
public class SpringSkinFactory implements SkinFactory{
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public ComboBox createComBox() {
        return new SpringComboBox();
    }
}
